<%@ Control Language="C#" AutoEventWireup="true" Codebehind="PlayerListControlByLogId.ascx.cs"
    Inherits="ASP_TF2LogParser.UserControls.PlayerListControlByLogId" %>
<div id="noLeagueIdErrorMessage">
    <asp:Label ID="NoLeagueIdErrorMessage" Text="No League Id supplied or no log files found for that League Id"
        Visible="false" runat="server" />
</div>
<div id="playerListFilteredContainer" runat="server">
    <asp:GridView ID="playerListgv" runat="server"  AllowSorting="True"
        AutoGenerateColumns="False" >
        <Columns>
            <asp:TemplateField HeaderText="Player">
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# GenerateUrl( Eval("PlayerName").ToString(), Eval("PlayerId").ToString() ) %>'
                        ID="PlayerNameLabel"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Points" HeaderText="Points" SortExpression="Points" />
            <asp:BoundField DataField="Kills" HeaderText="Kills" ReadOnly="True" SortExpression="Kills" />
            <asp:BoundField DataField="Assists" HeaderText="Assists" ReadOnly="True" SortExpression="Assists" />
            <asp:BoundField DataField="Deaths" HeaderText="Deaths" ReadOnly="True" SortExpression="Deaths" />
            <asp:BoundField DataField="KillDeathRatio" HeaderText="K:D" SortExpression="KillDeathRatio" />
            <asp:BoundField DataField="Dominations" HeaderText="Dom" ReadOnly="True" SortExpression="Dominations" />
            <asp:BoundField DataField="Ubers" HeaderText="Ubers" ReadOnly="True" SortExpression="Ubers" />
            <asp:BoundField DataField="Captures" HeaderText="Caps" ReadOnly="True" SortExpression="Captures" />
            <asp:BoundField DataField="FlagsCaptured" HeaderText="Flag Caps" ReadOnly="True"
                SortExpression="FlagsCaptured" />
        </Columns>
    </asp:GridView>
</div>
